<?php
require_once 'model/File.php';

class FileService 
{
	private $file;
	
	function __construct() 
	{
		$this->file = File::getInstance();
	}
	
	public function saveFile(FileVO $file)
	{
		return $this->file->saveFile($file);
	}
	
	public function deleteFile(FileVO $file)
	{
		return $this->file->deleteFile($file->idFile);
	}
}